package com.qingcloud.adminbackend.entity.stationgroup;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 设备组和设备关系表
 * </p>
 *
 * @author luozehua
 * @since 2018-11-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_stationgroup_equipment")
public class SysStationGroupEquipment extends Model {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 设备组ID
     */
    @ApiModelProperty(value = "设备组ID")
    private String groupId;

    /**
     * 监测点ID
     */
    @ApiModelProperty(value = "监测点ID")
    private String stationId;

    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备ID")
    private String equipmentId;
    @ApiModelProperty(value = "创建日期")
    private Date createDt;
    @ApiModelProperty(value = "创建人")
    private String createBy;
    @ApiModelProperty(value = "更新时间")
    private Date modifyDt;
    @ApiModelProperty(value = "更新人")
    private String modifyBy;


}
